import axios from "@/utils/http"

// 获取教师详情页总页面数据   根据教师id查询教师详情
export function TeacherDetail(id:any){
    return axios({
        method:"get",
        url:`/fore/teacher/getTeacherById/${id}`,
    })
}

//    根据教师id查询专题    (Ta的合集课程)
export function CollectionCourse(id:any){
    return axios({
        method:'get',
        url:`/fore/teacher/getThematicList/${id}`,
    })
}

   //  根据教师ID查询最新发布课程
   export function NewOpenCourse(id:any){
         return axios({
            method:'get',
            url:`/fore/teacher/getClass/${id}`,
         })
   }

